//
//  XMDUserInforDefault.h
//  XMDefender
//
//  Created by XunFengKJ on 2017/3/20.
//  Copyright © 2017年 XunFengKJ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BookShareUserInforDefault : NSObject

//读取登录状态
+ (BOOL)readLoginStatus;
+ (void)saveLoginStatus:(BOOL)status;
/**********************保存登录模型************************************/
/** logintype */
//+ (void)saveUserLogintype:(NSString *)logintype;
//+ (NSString *)readLogintype;

/** account */
//+ (void)saveUserAccount:(NSString *)account;
//+ (NSString *)readUserAccount;


/** avatar */
+ (void)saveUserAvatarUrl:(NSString *)avatarUrl;
+ (NSString *)readUserAvatarUrl;

/** iscanOpenSecondUser 是否可开二级账户 */
+ (void)saveiscanOpenSecondUser:(NSString *)iscanOpenSecondUser;
+ (NSString *)readiscanOpenSecondUser;

/** address*/
+ (void)saveUserAddress:(NSString *)address;
+ (NSString *)readUserAddress;

/** begin */
+ (void)saveUserBegin:(NSString *)begin;
+ (NSString *)readUserBegin;

/** end */
+ (void)saveUserEnd:(NSString *)end;
+ (NSString *)readEnd;

/** uid */
+ (void)saveUserUid:(NSString *)uid;
+ (NSString *)readUserUid;

/** intro */
+ (void)saveUserIntro:(NSString *)intro;
+ (NSString *)readUserIntro;

/** nickname */
+ (void)saveUserNicknames:(NSString *)nicknames;
+ (NSString *)readNicknames;

/** phone */
+ (void)saveUserPhone:(NSString *)phone;
+ (NSString *)readUserPhone;

//清除
+ (void)clearUserInfoNil;
@end
